guard against (something)

Translations
se prémunir contre
Definitions
To take precautions or measures to prevent or protect oneself from a potential danger, risk, or negative outcome.